package dxunderground.chatbot.factories;

import java.io.File;
import java.io.IOException;

import org.jdom.JDOMException;

import dxunderground.chatbot.Bot;
import dxunderground.chatbot.CopyBot;

public class BotFactory {
	public static Bot getBot(boolean toSerialize) {
		return new CopyBot(toSerialize);
	}

	public static Bot getBot(String location, boolean toSerialize) throws JDOMException, IOException {
		return new CopyBot(location, toSerialize);
	}

	public static Bot getBot(File location, boolean toSerialize) throws JDOMException, IOException {
		return new CopyBot(location, toSerialize);
	}
}